package com.ntd.study.base.network;

import java.io.IOException;
import java.net.ServerSocket;

/**
 * socket 服务端demo
 */
public class DemoSocketServer {

    public static void main(String[] args) throws IOException {
        final ServerSocket serverSocket = new ServerSocket(33001);
        serverSocket.accept();
    }
}
